def _make_kind_id(self, name_or_id):
if not name_or_id:<EOL><INDENT>return None<EOL><DEDENT>if name_or_id.isdigit():<EOL><INDENT>return name_or_id<EOL><DEDENT>return self.kind_name_to_id(name_or_id)<EOL>
Make kind_id from kind_name or kind_id.