internal static string ToStringId <T>(this IAsyncDocumentSession self, long?id) { return(id == null ? null : self.ToStringId <T>(id.Value)); }