I don't think there are necessarily specific warning signs. It varies from country to country.
There are particular states that engage in that behaviour, but I think the way to look at hostage diplomacy is not as a consular issue exclusively or as simply that kind of hostage-taking. It is one tool in a coercive kit that authoritarian states that are less respectful of norms and laws are willing to use, and they will use whatever tool in the kit they think is going to get what they want in a given case.
To some extent, they like reciprocity. One warning sign is a person being held in a western-government country, as with Meng Wanzhou, for example. Then they are more likely to use hostage-taking than to use other tools of coercion.
Let's remember that in the case that involved me, there were also trade sanctions and other forms of leverage used. Again, they are using asymmetric forms of leverage against democracies, and hostage-taking is one of them simply because they don't have any ethical barrier against doing so.
The warning signs are that there is a dispute in which they would consider that tool an effective way to accomplish their ends. Deterring it needs to be done by demonstrating costs and consequences for engaging in that behaviour. As long as they can get away with it and there is no cost imposed on them, they will continue to do so.
There are two ways, essentially, to deter: deterrence by denial, which we do by discouraging Canadian citizens from going to countries like Iran or North Korea, and deterrence through punishment and consequences. Unless they are imposed on the individuals perpetrating it and on the countries, they will continue doing it as long as costs are not imposed.
