Euclidean ideal classes