Set the keyfor attribute for the poly.
keyfor
names (list or tuple) – a sequence of names, each corresponding to the key tuple counterpart, i.e., names[i] v.s. key[i].