Changed serialization of primitive types

Expanded the definition for serialization of primitive types.

Reworded "primitive types" to "primitive kinds" and so on for "composite" and "collection" kinds.