Should this maybe be called findUnusedVariableBindings? It works for "let" and "for" clauses.