Lookup the correct key for the passed context.