added new function for allocating a range of ids
Merge branch 'master' of https://github.com/IVPR/Weave into fkamayou