manage ids by yaml.