Ideal elements for perturbed Keplerian motions