Allow memblocks to be used with partition funcs.

It seems that the uids are interchangeable.  Probably won't matter, but
now they have proper uids.
Merge pull request #4918 from unknownbrackets/memblocks

Allow memblocks to be used with partition funcs