Add new function 'funname' that retrieves the name of a given function. This ensures 'module' to work across platforms.