Id class and tests updated to support an id generator pointer in id
JavaDoc added