void RegisterId(long id)
Ensures that ids subsequently generated by NewId do not clash with the given id.