EDIT: After re-reading the question, I'm less certain as to what you want to do. So here's a few JS example:
//find a Transform children in current GameObject
aTransform = transform.Find("LeftShoulder/Arm/Hand/Finger");
//access an object in a component script
aVariable = GetComponent(theScript).aValue;