get the profile id if it already exists