force <example> and <figure> to have IDs and force these IDs to be referred to