i-bem__dom: add elemify method

Signed-off-by: Vladimir Grinenko <i@tadatuta.com>