def findRandomLabel(labels, name):
    """
    Because some people are too clever by half, ensure that group labels are unique...
    """
    if name not in labels:
        return name
    i = 0
    while True:
        i += 1
        nameTry = name + '_r' + str(i)
        if nameTry not in labels:
            return nameTry
