PyITypeInfo.GetIDsOfNames

int = GetIDsOfNames()

Maps between member names and member IDs, and parameter names and parameter IDs.