Adds assignment to dictionaries or lists by specific key/index.