Updated ORMManager when generating audit tables

Should fix issues if your table has an ID with the name of ID...