handle binary keys

Use string id to track a row, handles binary keys from #4