Text this: Social capital, diversity, and the welfare state