Imperialism, nationalism and historical memory