Get the column index of a column.
a Model
the column name to retrieve the index of
0-based index of the column or -1 if column with this name wasn't found