okay, and as the route happens to have the id field mapped, this will work. nonetheless, we probably will deprecate this method in favor of $dm->getUnitOfWork->getDocumentId(). why don't you simply do $route->getId()? as you know the class of $route, you know that method is existing.