Ego Identity
So the self-representation (ego identity) depends on a particular
structuring of all realms of experience into a cohesive whole.
This implies the structuring of the contents of the mind, heart
and body experience into a specific, very stable, rigid organization
… The resultant sense of psychological identity is very
much adhered to and defended by the individual as the most precious
and absolutely necessary possession and attainment. (Essence ,
pg 44)

There is, however, a concept in depth psychology and ego psychology
that coincides with the ego of spiritual literature: it is called
the "ego-identity," and is sometimes referred to as
the sense of self, or the sense of identity. This sense of self
or separate identity is the main concern of ego developmental
theory. This identity is, in fact, the acme, the most important
outcome of ego development. It is ultimately the organizing center
of the psychic apparatus. This psychic apparatus includes as one
of its units the Freudian ego. In other words, the Freudian ego
is part of the mind, is a structure or a structured process in
it, while the self is a sense of identity and the center of action.
(The Void, pg 9)

Kernberg calls this final organization of internalized object
relations the "ego-identity". It refers to the overall
organization of identifications and introjections under the guiding
principles of the synthetic function of the ego, which constitutes
the final integration of the ego into a self that is continuous
in space and time, plus the representational world of all object
images. (The Pearl Beyond Price, pg 52)

Ego identity and boundaries
The usual way of living life, the undeveloped way, operates from
the perspective of the personality, of the ego-self. If you envision
it as a circle, it can be divided into two primary elements: the
circumference or periphery of the circle, and the center of the
circle. This is a good metaphor for the nature of the ego-self:
the center is what we call the sense of self, the “I”
that you take yourself to be. When you say, “I will do that,”
or “I want this,” that is the center of the personality,
not the whole of the personality, only its identity. The other
element of the personality, the circumference, is the individuality,
the sense of being an individual. So the center is the identity,
and the circumference is the individuality. If you look at your
experience of yourself and the way you live your life, you notice
that usually it can be seen from these two perspectives. Either
you are concerned about who you are, your sense of identity, the
feeling of self, the center of operation, your center; or you
are thinking of yourself in terms of boundaries, in terms of being
in individual, separate from other individuals. (Diamond Heart
Book 4, pg 93)