SQL schema exporter: Added code to generate a plpgsql function anonymize_case() that anonymizes a given case and all of its depending repeat groups.