I'm wondering if the addition here should rather be:
```diff
             }
+            else
+            {
+                $access['uri_part'] = self::washName( $access['uri_part'] );
+            }
```

But it's up to you, you probably know better by now where 'name' inside the if comes from.