Readonly
Returns entityUniqueId if the identity type is Entity or Player. If player is offline, returns undefined.
Error if the identity type is FakePlayer.
Returns entityUniqueId if the identity type is Entity or Player. If player is offline, returns undefined.