Text this: Conditions for anonymity in some generic public-key encryption constructions