[extractor/common] Generate better f4m format IDs