Could you place an xmarker, and parent to the door? This 'parenting' should be safe... :shrug:
Then you use the http://cs.elderscrolls.com/constwiki/index.php/GetParentRef command to get the reference of the door.
Ref Editor ID on XMarker: myXmarker001REF
In another script, you could then use:
set myREF to myXmarker001REF.GetParentRef