Internal identity is quite simple, conceptually. If a thing has this, its personality does not depend on anything external. It may be a pseudonym, link, rename, something-you, but it still supports everything that is "identity." People (most of them, anyway) have an internal identity. You are you, regardless of your name or where you live, or what physical transformations you may have suffered in life.
On the other hand, an electron does not have its own identity. Perhaps introducing quantum mechanics here just confuses the problem, but I think this is a really fantastic example. There is no way to “tag” or “stick” an electron in such a way that we can separate it from a neighbor. If you replace one electron with another, there is no way to distinguish the old from the new.
Return to computers: an example of "internal identification" can be the value returned by Object#hashCode() in Java or some JavaScript engine uses a engine, which allows this statement to be false:
{} === {} // false
but this is true:
function foo () {} var bar = foo; var baz = bar; baz === foo;
source share