New function to make a df from a list of id, useful to get  traits automatically