Use self.fields instead of @fields
Opal didn't let me set @fields
Use name instead of id for Identity
id will be used for component ids
Component IDs