The $key_field parameter can also be specified as an integer column number (counting from 1).