new function - document.id() - inspired from mootools