Formulating the Matthew Principle: on the role of the middle classes in the welfare state