Fix for CARBON-14866 - tenant id is initialized from the constructor.

 Previously tenant id was set to default java int value (0). Now tenant id is initialized from the constructor.