carnivore: allow setting a preferred name
Closes #963210.
As I mentioned on the bug report, I tested this code locally with the Docker build that I prepared on the other merge request. Diffing the result file before and after this commit shows that only Tina's record differs.