Fixed problem in Id assignment inside constructor

Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com>