function getBestIssueId() { $publicIssueId = $this->getStoredPubId('publisher-id'); if (!empty($publicIssueId)) { return $publicIssueId; } return $this->getId(); }