int lightid(light lp)
Returns the integer light identifier of the light struct passed in. The function returns -1 if the argument is invalid.