support compound primary keys for measure model