A name used by a group or category of people to refer to themselves or their language, as opposed to a name given to them by other groups.
A name used by a group for themselves or their location.