...
You can even assign materials to your objects automatically using the Assign by Name option, on the right-click menu. Use the combos to choose the material(s) to be assigned, and type in the blank fields the name of the object(s) that will receive each material. You can create your own rules like the one in the following example:
Assigning automatically materials using the Assign by Name panel
...