Fixes: #2637 Fixed errors about redefined methods
Fixes: #2631 Added idAllocationMethod to config backend, fixed nextIdHook behavior
Fixes: #2595 The code should follow code guidelines