Added getNameFromID() function