Nationalism as a sociological problem