Give sub-facts unique element IDs in add_simple_tag

This ensures find dialogs don't overwrite the wrong field value.
Switch print_editnote_link to use edit_note
Update INDI, SOUR, and NOTE names after finding a new one via find.php
Consolidate paste_*, pastename and openerpasteid implementations

pasteid is left alone for now