It's a number that you use to refer to a specific sprite. For example:
SPSET 0,1 'Make an orange with ID of 0
SPSET 1,0 'Make a strawberry with ID of 1
SPCOLOR 1,RGB(0,255,0) 'Make strawberry green (ew)
SPSCALE 0,2,2 'Make orange double the size
1そうだね プレイ済み