getInstanceIdForObject(obj: Object): Decimal;
The getInstanceIdForObject method of the Object class returns the instance identifier of the object specified in the obj parameter, even if this object is no longer valid.
The decimal value returned by this method avoids problems caused by negative numbers for large values.