Memory and social cohesion