make-defregistry-fn-name local helper fn.