generalized prefix and id variables