set id as rownames of pedigree for indexing, faster than 'which'