running org-export-as-html on a subtree is currently problematic if the result is to be merged into a document which contains html-ized versions of other subtrees: the footnote references and definitions get clobbered. this patch uses the CUSTOM_ID property of the subtree to generate unique footnote references and definitions. if the subtree does not have the CUSTOM_ID property set the result is a nop.