Initial modification to move materials from a number to a string

The idea is that materials should be referenced by name and not
by number. The initial version of this code needs to do two thinks:

- first it needs to allow variables that are strings
- second it needs to support named materials within the DBMaterials
date base.

The version of the code seems to do both of those jobs.