Added definition for numerical hierarchies

This will make sure that the hierarchy is a character based as opposed
to numeric based when subsetting so that setpopulation doesn't
accidentally set the wrong level.