make BIDIdentity serializable