BUG: Index column is now the one named sample_name

The index column for sample and prep templates were being assumed to be the
first one in the file, this has been changed for it to be the column named
sample_name.

😱