Nationalism and the mind