Lambda/proc for naming resource model (close #37)