def integer_id(self):
id = self.id()<EOL>if not isinstance(id, int):<EOL><INDENT>id = None<EOL><DEDENT>return id<EOL>
Return the integer id in the last (kind, id) pair, if any.

        Returns:
          An integer id, or None if the key has a string id or is incomplete.