Fix/master/fix 3533

IdGenerator can now be initialised with 0 to get new id 1. Issue #3533

- Created standalone unit test for IdGeneratorProxy
- Updated javadoc