ENsetcurveid function

Changes the ID name of a data curve given its index.