Added package acess constructor to IdGenerator