Construct a queue-name from a set of arguments and a delimiter

def construct(args):
    '''Construct a queue-name from a set of arguments and a delimiter'''
    # make everything unicode
    name = u''
    delimiter, encodeseq = delimiter_encodeseq(_c.FSQ_DELIMITER,
                                               _c.FSQ_ENCODE, _c.FSQ_CHARSET)
    if len(args) == 0:
        return delimiter
    for arg in args:
        name = delimiter.join([ name,
                                encode(coerce_unicode(arg, _c.FSQ_CHARSET),
                                delimiter=delimiter, encodeseq=encodeseq)])

    return name