UInt32 Environment.ObjectId { get; }

Gets the internal id of the object.