updating to use the element to fetch the id
Merge pull request #1 from rushton/patch-1

updating to use the element to fetch the id