API: added ability to save usages by service name or id (instead of unused symbol)

API: added ability to save usages by service name or id (instead of unused symbol)