Here's what I get from localizedName on my iMac:
(((name . "Built-in Retina Display") (geometry 0 0 3200 1800) (workarea 0 25 3200 1775) (mm-size 599 339) (frames #<frame *scratch* 0x7fe165871c30>) (source . "NS")))
Seems a bit cumbersome, but that's what it is. I can synthesize a name for if this ever returns NULL; e.g., the equivalent of (format "%dx%d@%d,%d" width height x y) where x and y are the coordinates relative to the origin reported by macOS (adjusted for being inverted, if I recall correctly).