A Unified Treatment of Certain Classes of Combinatorial Identities