Add script to extract the names for a list of ids