The process in which a relatively unspecialized cell acquires specialized features of an epithelial cell, any of the cells making up an epithelium. [ GOC:ecd http://www.ncbi.nlm.nih.gov/pubmed/11839751 ]