Added a feature to support a special id for the deprecated components.