How do I target a specific term or node in a toked? I am developping a site on a dev server, and I am wondering how to create hyperlinks not depending on the server the site is running on.

I have considered usig href="node/xx" and href="term/yy" but I would like to use the paths generated by pathauto. 

But I cannot include the pathauto url as I am certain my client will change titles before I move the site to its final destination, and I might have to regenerate paths to do that.

So I am wondering if there is a way with tokens. Something like [node:nid:122] or [term:tid:122]
The link node module is doing this for you. Here is a quote about it (from the module's project page):

Once installed you (or any user who can post) can add an embedded href link to any node using the syntax (where N is a number, and NNN is a node id):
[node:NNN]
Parameters follow the part and are comma separated name=&quot;value&quot; pairs:
[node:NNN,title=&quot;Original version of the picture&quot;]
MultiLink supports Link Node, so if someone is viewing in another language it gets converted to [node:101] or whatever the correct node is for the translated version automatically.