Added a names function that maps column names to column indices for data
files.