Regional modulation of a stochastically expressed factor determines photoreceptor subtypes in the Drosophila retina.