Add document ID to getSVG()  (Fixes #58)