def splitBase(idx):
    """ Return a named used when a big case is split into several pieces """
    name = ''
    if len(idx) == 0:
        return 'base'
    for ii, n in enumerate(idx):
        name += 'sp%d-split-%d-' % (ii, n)
    name = name[0:-1]
    return name