add function to get a list of unmapped ids