Made Identities type.
Added a Generator pointer so that different generators can be added.
Generate variable and references.
Generate function prototypes.