def METHOD_NAME(param_list, prefix=[], d=None):
    if d is None:
        d = {}
    for i, obj in enumerate(param_list):
        trailer = [Subscript(Number(unicode(i)))]
        if isinstance(obj, list):
            METHOD_NAME(obj, trailer, d=d)
        else:
            d[obj] = prefix + trailer
    return d