Reset `id` when finished with a method, to make diffs of generated code smaller.
Reset `id` when finished with a method, to make diffs of generated code smaller.

dmunch/Pegasus,otac0n/Pegasus,dmunch/Pegasus