DATAJPA-269 - Add support for deriving the identifier of nested composite key entities.

Added test case for compound keys with embedded id.