removed rex_template::setId()