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.