I believe ants and honey bees have genetically-coded and baked-in specializations like worker and queen bees