Implement getPublicId() and setPublicId()