שולחן ערוך, אבן העזר, Seder HaGet Seder HaGet · סב
Shulchan Arukh, Even HaEzer 240
צריך כל א' מהעדים לפרש שמו ושם אביו שיחתום פב"פ עד: הגה ואין צריכין לחתום כינויין אבל אם הם כהנים או לוים חותמין פלוני בן פלוני הכהן או הלוי עד אבל אינו כותב בן מהר"ר או בן החבר (בסדרים) וכן נוהגין:
Each witness must spell out his name and his father's i.e.: So-and-so son of Such-and-such, witness. Rema: They do not need to sign all their nicknames and alia. However if they are Kohanim or Leviim they do sign "So-and-so son of Such-and-Such Hakohen/Halevi, witness" but not "son of Rabbi such-and-such" or similar