recode.agent function

Assigns agent or class variables numeric identifiers