fn column_ref(s: &str, has_header: bool) -> ColumnRef
A column reference: a 0-based index when there’s no header row, else a header name (mirrors the CLI’s col_ref closure).
col_ref