Added utility to create HasId autobeans