Text this: An analogue in certain unique factorization domains of the Euclid-Euler theorem on perfect numbers