[Command] never called client or the host UNET

I’m working with UNET for a school project and I think I understood [Command] properly and Implemented this piece of code , but the [Command]it is never called either on the server or on the cilent

void Update () {

		if(myTransform.name == "" || myTransform.name == "Player(Clone)" ||  myTransform.name == "Player(clone)")

		PlayerControl ();
		PlaceObstacle ();

	void CmdTellServerMyIdentity(string name)
		Debug.Log ("Is it called on client");
		playerUniqueIdentity = name;

I don’t see anywhere you actually call CmdTellServerMyIdentity() ? Are you sure you actually call it? You should call Commands just like any other method.