Add ID rank column to exported observations data file

I hope this is added. It would be so useful.