Enhance semantic tagging capabilities

we want to be able to encapulate the elements referenced in the text with semantic tags, so that we can use them to generate code for Model