docs: document #foo.id syntax
docs: simpler echo to file, remove temp file.