Fix infinite loop with missing symbol definition

The local function _resolve_symbol is renamed for improved tracebacks.
Merge pull request #9 from biochimia/fix-infinite-loop

Fix infinite loop with missing symbol definition