resolve KAZOO-633: move dynamic cid logic into attributes and clean up use in cf_resources