infer_column_role
infer_column_role(col_name, series)Infer column_role from a column’s name and contents.
A node-for-node port of metasalmon v0.1.7’s infer_column_role(), including that release’s terminal-ID-qualifier fix: a name whose last ID/key token is followed by a qualifier token (quality, confidence, accuracy, grade, score) describes the quality of an identification, not an identifier, so id_quality is an attribute.