Configuring Site-to-Site IPsec using Peer IDs

Hi,

I was able to establish an IPSec Site-to-Site Tunnel using Peer’s IP address but when I configure @ I see, that it is not initiating the connection.
It would be great if you can let me know how to establish a tunnel using Peer’s ID

Thanks in advance!
~Christus