Mweb 965

Do not merge
Move it to `crud.utils.js` and rename into `validateId()` or something like that to re-use in other modules.