refactorerd the internal2id method. it may give now(optional) only then id, irrelevant if is registered or not.