A construction for prime ideals as absolute values of an algebraic field