Closes #1081 by adding the `namedfunc` option

This option adds the requirement that all function be named.
Anonymous functions will raise a warning (W126).