def NewName(BaseName, NameList):
    """
	Return a Name that is unique to the list, based on the pattern Base-Name + number
	"""
    NameList = list(NameList)
    NB = 0
    while NameList.count('{0}_{1}'.format(BaseName, NB)):
        NB += 1
    return '{0}_{1}'.format(BaseName, NB)
