Thanks.
It helped me.

One more question: Can i generate an entity name? Something of the kind:

entity* myPointer;

myPointer = 'someName'+1;
myPointer.blocked = 1;

if the entity with the name someName1 exists in WED?