Right but part of identity is our relationships to other people. If I get Alzheimer’s disease and forget who my mother is, she’s still my mother even though I no longer remember her.
Edit: similarly, my aunt passed way over a decade ago. She’s still a person and still has an identity, even though she’s no longer living.