integrate the SHtml.idMemoize functionality. May there is a better solution to solve giving the reference to the other snippet.