Nationalism can be a force for the good