Added better assertion message.
Made sure to let the effect state load the uniform ID instead of the loader.