def METHOD_NAME(self, rtype=None, name=None, content=None):
    records = self.list_records(rtype=rtype, name=name, content=content)
    if len(records) == 1:
        return records[0]["id"]
    raise Exception("Unambiguous record could not be found.")