Get the corresponding quark of the type IDs name.
type to return quark of type name for
the type names quark or 0