On certain combinatorial identities