Facility for auto-generating incident numbers