public static void resetGlobalCountersForTests() {
        threadId.set("_0_");
        threadLocalUniqueId.set(new Counter());
    }
WARNING: For testing only: Resets counters creating anonymous component ids for this thread.
component/src/main/java/com/yahoo/component/ComponentId.java