Validates column names.