Establishment of cell type by compartmentalized activation of a transcription factor.