'Find object with given dbref.
Args:
dbref (str or int): The id to search for.
Returns:
object (TypedObject): The matched object.'

@returns_typeclass
def get_id(self, dbref):

    dbref = self.dbref(dbref, reqhash=False)
    try:
        return self.get(id=dbref)
    except self.model.DoesNotExist:
        pass
    return None
