Fix irregular names in lists and dataframes