Variant: add id field getter

closes #107
I would hate to do anything that would make it difficult for us to write a thin layer to connect to other sources, like a variant store in the near future.