differentiate between name and id