Generalized polynomials and associated operational identities