The “I” says all of these memories (me at age 5 or me at age 25), they all belong to the same “I.” So even though you're kind of a different person in those memories, you're still technically the same person. That's how your I (your ego) makes your identity.