Text this: On generalizations of the Pompeiu functional equation