isCodeId function
Whether id is a type id or a tool id (spec 2a P1): a kit id, then one
or more dot-separated segments of lower-case letters and digits joined by
single hyphens. architecture.wall, restaurant.booth.corner.
Implementation
bool isCodeId(String id) => _codeId.hasMatch(id);