I'm trying to use ledger blocks inside org with babel:

Babel language config:
(org-babel-do-load-languages
 'org-babel-load-languages
 '((R . t)
   (emacs-lisp . t)
   (ledger . t)))

Ledger lisp path:
(autoload 'ledger-mode "ledger-mode" "A major mode for Ledger" t)
(add-to-list 'load-path
             (expand-file-name "/home/damian/git/ledger/lisp/"))
(add-to-list 'auto-mode-alist '("\\.ledger$" . ledger-mode))

I'm trying the noweb example from:
http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html

I can evaluate and get results from income and expenses blocks, but when I try to run C-c C-c on balance block I get:
Symbol's function definition is void: org-id-find-id-file

Ledger mode and ledger from the command line are working.