make attribute defaulting slightly safer wrt querying accessors on native prototypes