convert all partner ids to strings

in order to avoid full table scan