As long as the clients implement the NIPs properly you shouldn’t need to know the client, unless you mean for debugging purposes 🤔
There is a “client” field in tags that some client add, but I wouldn’t want to re-create the UserAgent hacks that the web had, which is why damus does not add or read these.