code: public String forTaskInstance(String alias, long taskId) {
          return registry.getContainerId(alias, new ByTaskIdContainerLocator(taskId));
      }
docs: Looks up container id for given alias that is associated with task instance
  @param alias container alias
  @param taskId unique task instance id
  @return
  @throws IllegalArgumentException in case there are no containers for given alias