Often treated as an unquestioned virtue, patriotism can easily slide into nationalism, exclusion and hostility towards others.