Quote from PhanxYou'd need to create a hidden tooltip, set it to (invisibly, because it's hidden) display the unit, and scan it to find the owner's name. You could, in theory, do this from inside LuaTexts, but I would not recommend it.
Was afraid of that. sounds like more trouble than it is worth. The tooltip display will work for me. My experience with hidden tooltips is they can start to mess up other tooltip mods/addons even if you are careful so nope.