The Division of Labor: Genotypic versus Phenotypic Specialization