This use follows a preposition and refers to the person speaking.
This gift is for me.
She sat next to me.
This informal use refers to the speaker's characteristic personality or sense of identity.
That kind of job is not really me.
I finally feel like me again.