Title: caste and ecology in the social insects