Allow user to override id param name used in urls.

I prefer to have url param names explicitly say that they're meant to be ID values of some sort, so this PR adds the option to specify what the param name should be for a route rather than singularizing the resource name.