Add id to glossary entry

This is needed to enable users jump to glossary entries.