fix partition_ident for unassigned shards