Adding ID setting to char constructor.
Small bug fix.