Instance name

is there a way to change an instance name dynamically? i am sure that this is a weird problem. thought i would ask.

rL