Fix issue with bounds check where generator-id mask was 31 bits which threw an exception on every generartor-id.
Fix issue with bounds check where generator-id mask was 31 bits which threw an exception on every generartor-id.

RobThree/IdGen