Returns the specified material string, or nil if the value is not set or if the value can not be converted to a string.