variableNames shouldn't have any of default properties other then `__proto__`. So variableNames[variable.name] should be sufficient (we have another rule that checks overrides of default properties, it would flag those anyways).