add unique name validation in component collections