Of course it is more complicated than that. Yes I’m an engineer but I’m also a father, a husband, an uncle, a son, a brother, a bibliophile, a brewer of wine and beer, a gamer, an author, a blogger, a friend, a life long learner, a cook, a volunteer and so on. All of these things combined are your identity and each of them contribute to it.
Yet for a person entering retirement there is a big shift that occurs with your identity. You have likely made your work-related identity one of your key roles that defines you and after you retire that role becomes less relevant. And here is the trick of having a successful retirement: you need to build a new role of retiree and let your previous work role diminish.