But many people are still insecure about the permanence of their country's new position in the world and haunted by memories of past humiliations by foreigner that have been drummed into them since childhood by a government increasingly dependent on nationalism for its legitimacy.