First version of a function which generate context dependant id
Merge pull request #3 from dita-community/common-id-generation

First version of a function which generate context dependant id