Variant: add id field getter

closes #107
I think it is within the world of our file formats