A better way is to use the bindings tab. Leave the code as:
@myattrib = @Cd.r;
And then in the bindings tab, add a binding from myattrib to your attribute name. One is the vex name the other is the attribute name. That way you can change the attribute name, or even put nothing!, to change the name of the attribute created.