Tweak storage so that item_type is stored on resource, renames statements -> property sheets.
Make lookup by uuid use a key for consistency
Use integer primary keys, this should trade insert speed for query speed.