Added section numbering to langref.rst

added section numbering as it is used heavily in the text.
.. sectnum::
   :depth: 3
   :start: 1
   :prefix: 2.