Treat lookup errors as errors
Add lookup from index functionality and stop dumping all identifiers as they are found