Add statement ID to report, to aid debugging.

I wanted to see if I could fix #30, and I found this extra output info useful while trying.