Accessing NSU from Macro

Hi,

I need to change the physical names of entities/attributes through macro. How can I do that? Do you have some sample code for it?