This mod is part of The Vanilla Experience.
A minimalistic configurable mod which gives all unnamed villagers a pre-defined name. This will name old and new spawns in the world. The mod contains a list of 5000+ names, one of which will be randomly chosen whenever an unnamed villager is detected. The profession of the villager is also visible on the trade screen.
_useFemaleNames (default = true): Use the list of female names when naming villagers.
_useMaleNames (default = true): Use the list of male names when naming villagers.
Because it's difficult to determine the profession of a named villager:
The mod also adds the profession on the trade screen: