added HasId to quark db models