Added sanity check for id column name.