set pk as proper columnName value if available