Fix assertion error for multiple nameless fks or indices

(non type-safe equality caught us)

as reported here: http://stackoverflow.com/questions/22899805/slick-codegenerator-does-not-fill-foreignkey-names-causing-assertion-failed-dup/22900019