OPENJPA-2325: MappedSuperClass without an @Id causes wrong identity type for the inherited types - back-ported to 2.0.x Pinaki Poddar's commit to trunk, as well as an additional change he made specific to 2.0.x.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1469582 13f79535-47bb-0310-9956-ffa450edef68