Title: Dynamics of nationalism