STATE_animation_set_name
NOTE that if the name is already in use by another animation the function would automatically add a number to the end of the name