adding table of unique id's stats marking a unique id as P if one more
instances are pretidted to be P