Look up the type ID from a given type name, returning 0 if no type has been registered under this name (this is the preferred method to find out by name whether a specific type has been registered yet).
| name |
type name to look up |
|
corresponding type ID or 0 |