Add ids to flatbuffer fields in y2012, y2016, frc971, and aos

Change-Id: I9ed9006ce6224e2df0459df47771786b928164a1
diff --git a/aos/network/connect.fbs b/aos/network/connect.fbs
index 32893b8..b593472 100644
--- a/aos/network/connect.fbs
+++ b/aos/network/connect.fbs
@@ -6,8 +6,8 @@
 // It communicates the channels that need to be forwarded back.
 table Connect {
   // The node making the request.
-  node:aos.Node;
+  node:aos.Node (id: 0);
 
   // The channels that we want transfered to this client.
-  channels_to_transfer:[Channel];
+  channels_to_transfer:[Channel] (id: 1);
 }
diff --git a/aos/network/message_bridge_client.fbs b/aos/network/message_bridge_client.fbs
index df3f02f..9dddd16 100644
--- a/aos/network/message_bridge_client.fbs
+++ b/aos/network/message_bridge_client.fbs
@@ -5,25 +5,25 @@
 // Statistics from a single client connection to a server.
 table ClientConnection {
   // The node that we are connected to.
-  node:Node;
+  node:Node (id: 0);
 
   // Health of this connection.  Connected or not?
-  state:State;
+  state:State (id: 1);
 
   // Number of packets received on all channels.
-  received_packets:uint;
+  received_packets:uint (id: 2);
 
   // This is the measured monotonic offset for just the server -> client
   // direction measured in nanoseconds.  Subtract this from our monotonic time
   // to get their monotonic time.
-  monotonic_offset:int64;
+  monotonic_offset:int64 (id: 3);
 
   // TODO(austin): Per channel counts?
 }
 
 // Statistics for all clients.
 table ClientStatistics {
-  connections:[ClientConnection];
+  connections:[ClientConnection] (id: 0);
 }
 
 root_type ClientStatistics;
diff --git a/aos/network/message_bridge_server.fbs b/aos/network/message_bridge_server.fbs
index 8f06fdb..1be0796 100644
--- a/aos/network/message_bridge_server.fbs
+++ b/aos/network/message_bridge_server.fbs
@@ -11,28 +11,28 @@
 // Statistics from a single connection to a client from this server.
 table ServerConnection {
   // The node that we are connected to.
-  node:Node;
+  node:Node (id: 0);
 
   // Health of this connection.  Connected or not?
-  state:State;
+  state:State (id: 1);
 
   // Number of packets that have been dropped (if known).
-  dropped_packets:uint;
+  dropped_packets:uint (id: 2);
 
   // Number of packets received on all channels.
-  sent_packets:uint;
+  sent_packets:uint (id: 3);
 
   // This is the measured monotonic offset for the connected node in
   // nanoseconds.  Add this to our monotonic time to get their
   // monotonic time.
-  monotonic_offset:int64;
+  monotonic_offset:int64 (id: 4);
 
   // TODO(austin): Per channel counts?
 }
 
 // Statistics for all connections to all the clients.
 table ServerStatistics {
-  connections:[ServerConnection];
+  connections:[ServerConnection] (id: 0);
 }
 
 root_type ServerStatistics;
diff --git a/aos/network/timestamp.fbs b/aos/network/timestamp.fbs
index 299ecaf..ccd7f40 100644
--- a/aos/network/timestamp.fbs
+++ b/aos/network/timestamp.fbs
@@ -3,13 +3,13 @@
 namespace aos.message_bridge;
 
 table ClientOffset {
-  node:Node;
+  node:Node (id: 0);
 
-  monotonic_offset:int64;
+  monotonic_offset:int64 (id: 1);
 }
 
 table Timestamp {
-  offsets:[ClientOffset];
+  offsets:[ClientOffset] (id: 0);
 }
 
 root_type Timestamp;
diff --git a/aos/network/web_proxy.fbs b/aos/network/web_proxy.fbs
index 196d38c..e11ff26 100644
--- a/aos/network/web_proxy.fbs
+++ b/aos/network/web_proxy.fbs
@@ -16,24 +16,24 @@
 // The SDP payload is an opaque string that describes what (media/data) we
 // want to transmit.
 table WebSocketSdp {
-  type:SdpType;
-  payload:string;
+  type:SdpType (id: 0);
+  payload:string (id: 1);
 }
 
 // ICE is way for different peers to learn how to connect to each other.
 // Because we will only be running in a local network, we don't have to support
 // advaced features.
 table WebSocketIce {
-  candidate:string;
-  sdpMid:string;
-  sdpMLineIndex:int;
+  candidate:string (id: 0);
+  sdpMid:string (id: 1);
+  sdpMLineIndex:int (id: 2);
 }
 
 union Payload {WebSocketSdp, WebSocketIce}
 
 // We only send a single type of message on the websocket to simplify parsing.
 table WebSocketMessage {
-  payload:Payload;
+  payload:Payload (id: 1);
 }
 
 // WebRTC has size limits on the messages sent on datachannels. This message
@@ -42,22 +42,22 @@
 // data starts again.
 table MessageHeader {
   // Index of the channel in config
-  channel_index:uint;
+  channel_index:uint (id: 0);
 
   // How many packets will be required for the message being sent.
-  packet_count:uint;
+  packet_count:uint (id: 1);
   // What index into the the total packets for the multipart message, this
   // header is parts of.
-  packet_index:uint;
+  packet_index:uint (id: 2);
 
   // Total number of bytes in the message
-  length:uint;
+  length:uint (id: 3);
 
   // Index into the sequence of messages. This will not always increase.
-  queue_index:uint;
+  queue_index:uint (id: 4);
 
-  data:[ubyte];
+  data:[ubyte] (id: 5);
 
   // Time at which the message was sent, in nanoseconds.
-  monotonic_sent_time:long;
+  monotonic_sent_time:long (id: 6);
 }