new model mixins and decorators for representation and db_alias attributes