Fix error handling in Container.Id()