Remove the id parameter from the #allocateUID signature since the type has that info

It also adds a method to MemoryStore that didn't exist and #23 introduced a dependency on. It also makes the TsdbStore accept strings when allocating new UIDs instead of the byte arrays.