$id function is still needed