def getId(ob):
    """
        Get a unique id of an object.

        :raises zope.intid.interfaces.IntIdMissingError: if
           there is no id for that object.
        :raises zc.intid.interfaces.IntIdMismatchError: if the recorded id
           doesn't match the id of the object.
        """
