Material to Layer

is there a way to take all the materials in a scene and move them to a layer? The layer would be the materials name, or something.

the problem is always, what do you do with multi/sub materials?

yep. That is the issue I am facing. Columns with 6 materials, but all one object.

Not sure, but the Outliner script might be able to help you with this.