public GuidTenantId(GuidTenantId idBase, string aggregateRootName) : base(aggregateRootName)
 {
     if (!IsValid(idBase)) throw new ArgumentException("Invalid base.", nameof(idBase));
     Id = idBase.Id;
     Tenant = idBase.Tenant;
     RawId = setRawId(Urn);
 }
 public static bool IsValid(GuidTenantId aggregateRootId)
 {
     return (!ReferenceEquals(null, aggregateRootId)) && aggregateRootId.Id != default(Guid) && !string.IsNullOrEmpty(aggregateRootId.Tenant);
 }