def get_identifier(self, url):
        """
        Get the identifier for this url.
        """
        parsed_url = urlparse(url)

        # dns resolution and caching
        port = parsed_url.port
        if not port:
            port = PROTOCOLS_DEFAULT_PORT[parsed_url.scheme]

        (ip, port) = self._dns_cache["%s:%s" % (parsed_url.hostname, port)]

        return "%s" % (ip,)
dataset/ETHPy150Open retresco/Spyder/src/spyder/core/queueassignment.py/IpBasedQueueAssignment.get_identifier/original