fixing issue where unique constraint can't identify the id field when its defined in a mappedsuperclass

If the property with fieldtype=id is defined in a mapped superclass then the unique constraint blows up because it can not find the property.  This fixes the issue by flattening the set of properties from all extended classes into a single array for searching.