- rename attribute "tag" to "originating_rel_id" to avoid confusion
- Create an "identity relationship" (-10)
- Use the new identity relation instead of value "0" in party_approved_member_map
- Add a foreign key to avoid garbage in "originating_rel_id"
- Speed up referential integrity
- Improve get_func_definition() to return SQL function/procedure
definitions with argument names and defaults (contained just types before)