Identifier can be empty for MappedSuperclasses

When MappedSuperclass is inspected without identifier column been assigned, always return false. Solves "Undefined offset" notice.
[DDC-2700] Add test and fix CS.
Merge branch 'DDC-2700'