Through the experience of memory, you recall what you have done, and you therefore attach yourself to it and perceive yourself through prior experience.