Add an option to nextSibling to return id or not
Add find.nearest function