Use plural form for attributes of array type (closes #20)

Also partially addresses issue #15.