how do i create a compsite key with two id`sone of this ids should be incremendet for new objekts.how can i specify the generator type for this id?