Binary transcriptional control of pattern formation in development