Added name attribute.
Added name att and getName, as all fields have names. Also added fieldId
and getFieldId as all fields have Ids.
added id and name to contructor.