Nationalism and the international system