public static AttributeType CreateAttributeType(string alias, string name, string description, bool assignId = false) { var atd = new AttributeType(); atd.Setup(alias, name, description); atd.SerializationType = new StringSerializationType(); if (assignId) atd.Id = new HiveId(Guid.NewGuid()); return atd; }