Moved the "id" regex to a route pattern.