Id of grain reference