I need to go up and grab the "id" attribute for each element up until the ancestor (not necessarily parent) that has an "id".
For example: The &
&