Computed attributes

Fixes to the types of data being returned (computed vs "simple" values), fixes to logic, different handling depending on whether agent is for an instrument or a platform.