A Theory of Employment Systems: Micro-Foundations of Societal Diversity