Add isStructuredAttribute() and isPrimitiveAttribute() with index
Create and use more IomHelper methods