Hmm.. actually there's still something amiss.
Doing the include as described above changed the error from:
Error 400 on SERVER: Unknown function utils::basename
to:
Error 400 on SERVER: Function 'basename' does not return a value
..which made me think it was now being found.
I then fixed the bug by adding to basename definition the required :type => :rvalue .
However, instead of solving the issue I now see the message:
Error 400 on SERVER: undefined method `basename'
Any suggestions would be most welcome at this point!
Thank you.
David