Splitting the lookup method into lookup and lookup_base in the lookup mixin.
Refactoring the lookup of facts and properties in the base node plugin.