Updated the Factorial program to use idOf and nameOf, too.