code: function(descriptor, value) {
  
  		if (Lava.schema.DEBUG && !Lava.types[descriptor.type_name].isValidString(value, descriptor)) Lava.t("Invalid attribute value: " + value);
  		return Lava.types[descriptor.type_name].fromSafeString(value, descriptor);
  
  	}
docs: Utility method used in parsers and sugar
  
  @param {Object} descriptor
  @param {string} value
  @returns {*}