Change framework to only audit tables with identity fields.

The identity field name is now chosen dynamically.