still not clear on why we don't use a standard postgres uuid impl. e.g. http://www.postgresql.org/docs/current/static/uuid-ossp.html.