Identifying percent amount and base