Use unicode from psycopg2, shorten date attribute names, deal with anonymous notes.