Change thesaurus registerName() to accept item instead of ItemPile

Removes unnnecessary indirection