Its used as a way to get citizens to war for far less than they once did. Previously there were hired mercenaries who would wage war. If it looked like they were not going to get paid or lose a battle they would leave.
Nationalism is a clear us vs them. I say this in a very successful bi/trinational peaceful nationstate.