Yes.
Start by writing the Name module by hand. That will show you what your macro would have to generate.
Name