TODO do this smarter, as 3.15.2.
Element annotations include identity constraint annotations (3.3.2.1)