return the “identity” of an object. this is an integer which is guaranteed to be unique and constant for this object during its lifetime. two objects with non-overlapping lifetimes may have the sameid() value.
cpython implementation detail: this is the address of the object in memory.
>>> a = 1
>>> a = ‘some text’