rename some internal functions
implement Adj.getElementByIdNearby