Added unique ID's and names

Gate
  Name: <gate type, e.g. AND>
  Id: gate<uid>
Output
  Name: output
  Id: out<uid>
Input
  Name: input
  Id: in<uid>