A simple model of inequality, occupational choice, and development