Inequality and social groups