This is not completely trivial as it implies looking for the ID in the various index files containing the IDs of the machines decided by each machine (and they can be big, like around 1Go).
Fortunately, they are sorted so a dichotomy on the file cursor with seek should be efficient. But a bit of work and requires some testing.