Switch ambigrefs flag to complementary uniqueids flag