collect_var_to_name(vars) returns a named list from variable names to
variables, as collect_var_to_name!. Elements of array variables are
named by their array. Two different variables with the same name are an
error.
Usage
collect_var_to_name(vars, out = list())