Returns the ID of the entity to which the comment is attached.
int The ID of the entity to which the comment is attached.
public function getCommentedEntityId();