This function registers a name for a function, to help storing functions into streams. This function must be called for each pointer-name pair before calling getName() or getFun().
getName()
getFun()