public way to get component's id