Happy with the try-except approach, just thought Id mention a neat trick:
`name = getattr(ufunc, '__name__', 'function passed to apply_ufunc')`