LPS-50764 Extends UpgradePortletId to avoid duplicated code