Added functions for creating names and getting the name of a constant.