define a pattern to get model and id from url