ris type files were not correctly recording internal ID marked by "ID".
If the ID marker is present we give preference to it, otherwise
simply use the counter for internal ID reference.