changed return from long to int for partition id
Added IDAllocation tests for all other backends. Added additional test cases for IDPool exhaustion. Reworked the way the unique id marker is inserted into the id and checking of the upper bound.