def _key(self, rawresult):
        """
        Returns a string that uniquely identifies a raw result from a particular
        source.
        """
        bits = [rawresult.contest_slug, rawresult.candidate_slug,
                slugify(rawresult.jurisdiction)]

        if rawresult.district:
            bits.append(rawresult.district)

        try:
            bits.append(rawresult.reporting_district)
        except __HOLE__:
            pass

        return '-'.join(bits)
dataset/ETHPy150Open openelections/openelections-core/openelex/us/fl/load.py/LoadResults._key