renamed autoIdHandling to more general autoInvokeNext