Essays in the political economy of redistribution and nation formation