Can you change the name of entities through VB?

I am trying to find out can you change the name of the various entities of the part by altering the VB code?  And if so what code do you need to write in VB to do this?  I am a novice in Solidworks and have maybe not explained myself clearly; say for example I want to change the default name given for sketching a line in Solidworks - 'Line 1' etc to something/anything different - can you do this??

many thanks

SolidworksApi macros