fixed name lookup in context (used by ExistingContribution matcher)