Holomorphic functions and polynomial ideals on Banach spaces