Add utils.py templates.
Add setId and setIds methods to the components templates for non-containing relationships.