Convert scites/comments/subs to use uids

This will make it easier to import the old
production database