org-footnote-unique-label

org-footnote-unique-label is a compiled Lisp function in `org-footnote.el'.

(org-footnote-unique-label &optional CURRENT)

Return a new unique footnote label.

The function returns the first "fn:N" or "N" label that is
currently not used.

Optional argument CURRENT is the list of labels active in the
buffer.