added an id getter to the Profile class