updates to surface serialization

Fixed problem where unmeshed shading devices and shell geometry did not
get processed correctly.

Added ability to assign unique id to glazing