Figured it out
With debug mode activated
During battle there will be 3 icons in the top left corner
The one on the left of these 3 brings up a menu that shows all entities on the battlefield and their SoulID I'm assuming this is the UnitID if not there's a second set next to it that might be it
I attacked my Wife to get hers thinking I could simply load the save and change her name but the IDs apparently change upon loading a save so I'd need to spar her
Imma attack some demonic cultivator and see if I can change his name to Bitch after letting him live