Gets the identifier.
string|int|null The entity identifier, or NULL if the object does not yet have an identifier.
public function id();