s3:selftest: extend sids2xids test script to cope with "ID_TYPE_BOTH mappings