richer seeds; fixes to id-generating helpers and move to application_helper