pub fn subtype_code(kind: IdKind, name: &str) -> Option<u8>
Look a subtype name up in the relevant table.