Generates the principal ideal of an element in a ring.