Assigning GameObject the name of a stringa

can you change the name of GameObject from script? Not the tag orlayer but the name of the object you would see from the Hierarchy Menu.

See Object.name.

name = "Another name";

or

somethingElse.name = "Some other name";

http://unity3d.com/support/documentation/ScriptReference/Object-name.html

Sure, just set it's name property:

GameObject.FindWithTag("MainCamera").name="MyMainMain";