changed id referencing for subtype-supertype and weak entity-normal entity