Add ids for all mallctl entries.

Add ids for all mallctl entries, so that external documents can link to
arbitrary mallctl entries.