Description: Characterization for two classes to be related under the restricted identity relation. (Contributed by BJ, 24-Dec-2023)