convert all partner ids to strings in kPermissionManager

in order to avoid full table scan