Pet name has 2 different meanings across 1 category:
Noun
a name of endearment (especially one using a diminutive suffix)
"`Billy' is a hypocorism for `William'"
Used other than figuratively or idiomatically: see pet, name.