Refactor away `resolve_name_in_lexical_scope` and `resolve_identifier_in_local_ribs`.
Refactor away `resolve_name_in_lexical_scope` and `resolve_identifier_in_local_ribs`.

GBGamer/rust,graydon/rust,graydon/rust,graydon/rust,GBGamer/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust,GBGamer/rust,aidancully/rust,GBGamer/rust,graydon/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,GBGamer/rust,aidancully/rust,aidancully/rust,GBGamer/rust