Make filter for id at definitions general

This solves #77 by add id attribute to every item of a definition.
Merge pull request #81 from r-gaia-cs/fix-glossary

Make filter for id at definitions general