StaticService now supports custom objectIds

If there's a problem with the id it should be detected due to the objectId db.