custom id generator in hibernate