The current version treats the **$id** as a simple string. It is not right and won't allow to correctly use **$ref** later. The behavior should be changed to treat **$id** as an URI and resolve **$ref** as URI as well