Nationalistic ideas and the rise of the Second Reich