Comparative advantage in the knowledge economy