Can you modify tags in unity using scripts alone?

Tags are useful, but sometimes you just need to modify tags on gameobjects duplicated with the instantiate command. Can anyone show me the way?

If you have access to the code where the GameObject was instantiated then do this:

var obj = Instantiate(gameObject);
obj.tag = "tagName";