On the development of memory and identity