library/baseapp: support component naming