A Framework for Analyzing Language and Welfare