added default parameter, and the ability to rename '_id' to 'id'