Is there a script to hide all named objects?

 From:  chippwalters
7205.1 
My workflow sometimes creates unnamed objects and now that my object list is getting long, it's hard to 'find' the unamed objects if some other objects have been displayed. I just want to assign a hotkey to automatically hide all 'named' objects. Any help is much appreciated!