Merge "Implement getProfileId() method in the subclass" into pi-dev