make resolve-symbol a public :dynamic function