Well you could certainly write a custom item to do that but, if it were me, I'd simply do it as a recode in SPSS (or whatever). "if stem01 = "hood" then prime = 2" or that kind of thing. Can't imagine a faster solution and would certainly beat coding manually. Hope I'm understanding what you mean.