It should be a ``$path`` as the route contains a path. What we do is we map everything to a "file path" do any processing needed and then when it comes to storage/doctrine, we map the path back to an "id".