added memo::id() compile-time helper; README and samples updated