The following question has been on the "unanswered" list since the 12th June.
On the 17th June, user Einar Petersen posted the answer below with a link to this forum.
When I followed the link, I was surprised to see that there was no actual answer stating the name of the story, nor anything additional to go on, other than the assertion that the OP thought that it might be a P.K. Dick story.
Having spent some time researching and cross-referencing stories by Dick, I spotted one that matched the OP's description. I briefly toyed with the idea of adding my findings to Einar Petersen's answer but eventually decided that by doing so, I would basically need to delete his entire answer and replace it with one of my own.
Having posted my answer and mindful of the fact that Einar Petersen's answer didn't actually lead anywhere useful, I flagged his question to be converted into a comment. I was quite surprised to see my flag declined and the note below appended, especially given that his answer was subsequently converted into a comment by a mod.
"Using someone else's answer to write your own, and then flagging theirs for deletion, isn't very nice. The sporting thing to do would have been to edit their answer into better form instead."
Should I have edited their answer to include the actual answer?
Were my actions "not nice"?