Text this: Trade, ideology and urnbanization