test for issue #232: missing asterisk for derived attribute / data lost

schema has multiple inheritance where two attrs with same name are inherited
one is derived, the other isn't
stepcode complains that an asterisk was missing when it encounters the non-derived attr

this bug exposed by AP209 ATS files
Modify GetSTEPattribute() and MakeDerived() in SDAI_Application_instance

* For issue #232
* Add a new param named `entity`
* Used in generated code to ensure that the correct attr is being marked as derived.
Pass entity name to MakeDerived when called from generated code.

This prevents the wrong attr from being marked as derived (#232)