fix(router): Can return 'handler' param in `'route', $identifier` hook again

This PR replaces #6971

In 1.8, it was possible to delegate to a different page handler by registering
a callback for the `'route', $identifier` plugin hook that looks like so:

```php
$result['handler'] = 'other';
return $result;
```

Then during 1.9 it was changed to expect the key to be 'identifier':

```php
$result['identifier'] = 'other';
return $result;
```

This change makes it so that both approaches will work as intended.

Fixes #6696