The interplay between counterfactual reasoning and feedback dynamics in producing inferences about the self