Add element IDs to facilitate testing

Thanks to Jean-Charles for review

git-svn-id: https://svn.forgerock.org/openig/trunk@612 dbb9e58e-28e6-4ce0-90e8-f11d9605b710