This will only load the maximum currently used IDs once.  I'm not sure it's useful to load it only once, as it doesn't allow us to keep track of how IDs are getting allocated.  Am I missing something?