I looked around on how to change the dynamic params slot and found this post that does the exact thing. The post is https://thoughtbot.com/blog/rails-patch-change-the-name-o
If I understand you correctly, what you want is to have the client_name instead of id in your url, right?
client_name
id
You can do that by overriding the to_param method in your model. You can get more information here.
to_param