Add Func names to assertion failures in Function.cpp

...to make diagnosing common mistakes easier