add() function on containers which check for existing id