Cities shall be incorporated in a manner prescribed by law, and shall be a part of the borough in which they are located. Cities shall have the powers and functions conferred by law or charter. They may be merged, consolidated, classified, reclassified, or dissolved in the manner provided by law.