The formation of gradient-driven singular structures of codimension one and two in two-dimensions: The case study of ferronematics | Synapse