make Agent.id non-public

in preparation for Scala conversion