The determination of sex and sexual phenotypes in a hermaphroditic organism's soma. An example of this is found in Caenorhabditis elegans.