increment name if name already exists