Change agent identifier type to "repository code".

refs #4745