add id in ref
tests of id in ref
Merge pull request #38 from orlezio/master

add id to ref