[HttpFoundation][NamespacedAttributeBag] Refactoring of resolveKey() method