New perspectives on nationalism and war