def METHOD_NAME(request: HttpRequest) -> str:
    """
    Returns a new unique string that can be used as an id="" attribute in HTML.
    Usage:
    {% with new_id=request|unique_id %}
        <label for="input:{{ new_id }}"> I am labelling a far-away input </label>
            ...
        <input id="input:{{ new_id }}">
    {% endwith %}
    >>> req = HttpRequest()
    >>> tooltip1 = unique_id(req)
    >>> tooltip2 = unique_id(req)
    >>> tooltip1 == tooltip2
    False
    """
    generated_id = PER_REQUEST_ID_COUNTER.setdefault(request, 0)
    PER_REQUEST_ID_COUNTER[request] += 1
    return str(generated_id)