Fixed id regex which was a pathological case for Python's re module and caused the call to match in PLY to have an exponential running time.