fix error in DDC-2775

- remove temporary separate handling of single and joined table inheritance
  - this did not populate the idmap correctly for joined table inheritance
    and therefore insert cascading didn't happen and wrong commit order
    was generated
- add to identity map based off class name instead of root entity name